﻿<!--
//*****************************************************************************
//
//  Silver Games - Checkers
//  Copyright © 2009 Randi Relander
//      <rjrelander@users.sourceforge.net>
//
//  This program is free software: you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation, either version 3 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
//*****************************************************************************
-->

<UserControl x:Class="Checkers.Client.DialogPlayAgain"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="CheckersResources.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</UserControl.Resources>

    <Grid x:Name="LayoutRoot" Background="Transparent">

        <Rectangle RadiusX="12" RadiusY="12" Stroke="Lime" StrokeThickness="2">
            <Rectangle.Fill>
                <SolidColorBrush Color="Black" Opacity="0.9" />
            </Rectangle.Fill>
        </Rectangle>

        <StackPanel Margin="20,10,20,15">
            
            <TextBlock x:Name="mMessage" Margin="0,0,0,10" FontFamily="Verdana" FontSize="16" 
                Text="You have won!" Foreground="White" HorizontalAlignment="Center" />
            
            <TextBlock Margin="0,0,0,10" FontFamily="Verdana" FontSize="12" Text="Play again?" Foreground="White" HorizontalAlignment="Center" />
            
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                <Button Margin="0,0,10,0" Style="{StaticResource ButtonStyle}" FontFamily="Verdana" Width="70" x:Name="mYesButton" Content="Yes" />
                <Button Style="{StaticResource ButtonStyle}" FontFamily="Verdana" Width="70" x:Name="mNoButton" Content="No" />
            </StackPanel>
            
        </StackPanel>

    </Grid>

</UserControl>
